package com.zengqingfa.dubbo.mall.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.zengqingfa.dubbo.mall.entity.UserAddress;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @fileName: UserServiceImpl
 * @author: zengqf3
 * @date: 2021-4-12 14:58
 * @description:
 */
@Service
public class UserServiceImpl implements UserService {
    @Override
    public List<UserAddress> getUserAddressList(String userId) {
        List<UserAddress> addresses = new ArrayList<>();
        addresses.add(new UserAddress(1, "北京", "111", "130000000"));
        addresses.add(new UserAddress(2, "广州", "222", "150000000"));
        return addresses;
    }
}
